Add GtkShortcutManager
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 6 Feb 2020 15:43:55 +0000 (15:43 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 19 Mar 2020 03:00:50 +0000 (23:00 -0400)
commit09400b6bfe0496b119a8033ddd554f5557b33039
tree5098b35a451bfe18743042f33c13456d6d9df26c
parentbbe98d9f7c564c623b3e67b83bde8734744da687
Add GtkShortcutManager

This adds an interface for taking care of shortcut controllers with
managed scope.

Only GtkWindow currently implements this interface, so we need to ensure
that we check if any top-level widget we reach is a shortcuts manager
before we call into it.
docs/reference/gtk/gtk4-docs.xml
docs/reference/gtk/gtk4-sections.txt
docs/reference/gtk/gtk4.types.in
gtk/gtk.h
gtk/gtkroot.c
gtk/gtkshortcutcontroller.c
gtk/gtkshortcutmanager.c [new file with mode: 0644]
gtk/gtkshortcutmanager.h [new file with mode: 0644]
gtk/gtkwidget.c
gtk/gtkwindow.c
gtk/meson.build